package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.UmsRoleMenuRelation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

@Mapper
public interface UmsRoleMenuRelationMapper extends BaseMapper<UmsRoleMenuRelation> {
    void allocMenu(@Param("menuIds") Set<Long> menuIds, @Param("roleId") Integer roleId);
}
